package com.the_last.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.the_last.pojo.po.SysUserRole;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface SysUserRoleMapper extends BaseMapper<SysUserRole> {
    
    /**
     * 批量软删除用户角色关系
     * @param userRoleIds 用户角色关系ID列表
     * @return 更新成功的记录数
     */
    int batchSoftDelete(@Param("userRoleIds") List<Long> userRoleIds);
    
}